@extends('Admin.layouts.common')

@section('content')
    <div class="container">

        @if(count($errors))
            <div class="alert alert-danger">
                <ul>
                    @foreach($errors->all() as $err)
                        <li>{{ $err }}</li>
                    @endforeach
                </ul>
            </div>
        @endif

        <form method="post">
            {{ csrf_field() }}
            <div class="form-group required">
                <label class="control-label">渠道编号</label>
                <input name="channel_no" type="text" class="form-control" value="{{ old('channel_no') }}">
            </div>
             <div class="form-group required">
                <label class="control-label">渠道名称</label>
                <input name="channel_name" type="text" class="form-control" value="{{ old('channel_name') }}">
            </div>
            <div class="form-group">
                <button class="btn btn-primary btn-block" type="submit">添加</button>
            </div>
        </form>
    </div>
@endsection